package cn.thinkluck.pattern.visitor.computer;

import cn.thinkluck.pattern.visitor.visitor.ComputerVisitor;

/**
 * 键盘实现类
 *
 * @Author liutao
 * @DateTime 2024/8/4 下午2:44
 */
public class KeyboardImpl implements Computer {
    /**
     * 键盘的行为
     *
     * @param computerVisitor 电脑访问者
     */
    @Override
    public void accept(ComputerVisitor computerVisitor) {
        computerVisitor.visitKeyboard();
    }
}
